/**
 * Created by Administrator on 2019/2/28.
 */
function openEdit() {
    location.href = '/app1/edit/';
}

function quiz() {
    var obj = document.getElementById('Modal-wrapper');

    obj.style.display = 'block'; //none ---> block
}

function closeWin() {
    var obj = document.getElementById('Modal-wrapper');

    obj.style.display = 'none'; //block  --->  none
}

function sel(obj) {
    console.log(obj.innerHTML);

    var arr = document.getElementsByClassName('tabsli');

    for (var i in arr) {
        arr[i].className = 'tabsli';
    }

    obj.className += " active";

    var dongtai = document.getElementById('dongtai');
    dongtai.innerHTML = '\<h4\>我的' + obj.innerHTML + '\<\/h4\>';

}